package com.hhf.riceshopping.order.feign;

import com.hhf.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("riceshopping-product")
public interface ProductFeignService {


    /**
     * 按照sku的id查询spu的详细信息
     */
    @GetMapping("/product/spuinfo/skuId/{id}")
    R getSpuInfoBySkuId(@PathVariable("id") Long skuId);
}
